package com.april.pattern.creational.builder;

import org.junit.jupiter.api.Test;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/06/22 21:03
 * @description
 */
public class BuilderTest {
    @Test
    public void builderTest() {
        AirShipBuilder airShipBuilder = new ZhAirShipBuilder();
        AirShipDirector airShipDirector = new ZhAirShipDirector(airShipBuilder);

        System.out.println(airShipDirector.decorateAirShip());
    }
}
